﻿.chat_content {
    left: 0;
    right: 0;
    top: 0;
    bottom: 7.4em;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 2%;
    border: 1px solid #D6D6D6;
    background: #f1f1f1;
}

.chat_message {
    position: relative;
    margin: 1.4em 0 0.6em;
    width: 94%;
    padding: 0.5em 3% 0;
    background: #fff;
    border: 1px solid #d4d4d4;
    -webkit-box-shadow: 0px 0px 4px #d4d4d4;
    -moz-box-shadow: 0px 0px 4px #d4d4d4;
    box-shadow: 0px 0px 4px #d4d4d4;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
}

    .chat_message:first-child {
        margin-top: 0.6em;
    }

.chat_message {
    z-index: expression(runtimeStyle.zIndex = 1, insertAdjacentHTML('beforeEnd', '<span class="after"></span>'));
}

    .chat_message:after, .chat_message .after {
        content: " ";
        display: block;
        position: absolute;
        top: 100%;
        right: 3%;
        width: 16px;
        height: 14px;
    }

.chat_mes_my {
    background-color: #f6f6f6;
}

    .chat_mes_my .chat_mes_title {
        text-align: right;
    }

.chat_mes_title {
    font-size: 0.9em;
    margin-bottom: 0.3em;
}

    .chat_mes_title .name {
        font-weight: bold;
        margin-right: 0.4em;
    }

    .chat_mes_title .date {
        color: #929292;
    }

.chat_mes_text {
    margin-bottom: 0.5em;
}

.chat_form {
    left: 0;
    right: 0;
    bottom: 0;
    height: 6.8em;
    padding: 0.4em 0;
}

    .chat_form .btn{
        float: right;
        height: 7.3em;
    }

.chat_field{ margin-right: 8em;}
.chat_field textarea {
        height: 8em;
        padding: 0 5px;
        font-size: 0.9em;
        line-height: 1.5;
        width: 97%;
        margin-bottom: 0.2em;
}
    
#users ul li i{
    margin-right: 10px;
}
#users ul li:hover{
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

#video {
    width:600px;
    margin-right: 20px;
}
#room_chat{ width: auto;float: none;overflow: hidden;}
@media(max-width:1000px){
    #video{ float: none;width: auto;margin-right: 0; }
}